const rangeActivityList = ref([])
export const useAction = ()=>{
  const tableForms = ref([
    {
      label: '',
      prop: 'productName',
      type: 'input',
      placeholder: '商品名称',
      clearable: true,
      model: '',
    },
    {
      label: '',
      prop: 'productCode',
      type: 'input',
      placeholder: '商品编码',
      clearable: true,
      model: '',
    },
  ])
  const tableConfig = ref([
    {
      label: '商品名称',
      prop: 'productName',
      width: 550,
      textOverflow:true,
    },
    {
      label: '参考批发价',
      prop: 'price',
      width: 160,
    },
    {
      label: '可售库存',
      prop: 'inventory',
      width: 160,
    },
  ])
  return {
    rangeActivityList,
    tableForms,
    tableConfig
  }
}